module Base
{

	/*========================= 5.56x45mm NATO =========================*/

	item 556AKClip
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	m16clip,
		ItemType                    	=	base:normal,
		Weight                      	=	0.2,
		AmmoType                    	=	base:bullets_556,
		CanStack                    	=	false,
		GunType                     	=	Base.STG943;Base.STG943Folded,
		MaxAmmo                     	=	30,
		StaticModel                 	=	gun_magazine_new,
		WorldStaticModel            	=	gun_magazine_new,
		Tags                        	=	base:hasmetal;base:riflemagazine,
	}

	/*========================= 9x39mm =========================*/

	item 9x39mmBullets
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	545Bullets,
		ItemType                    	=	base:normal,
		Weight                      	=	0.02,
		Count                       	=	5,
		MetalValue                  	=	1,
		AlwaysWelcomeGift           	=	true,
		WorldStaticModel            	=	9x39mmBullets,
		Tags                        	=	base:hasmetal,
	}

	model 9x39mmBullets
	{
		mesh = weapons/ammo/Rifle_Ammo,
		texture = weapons/ammo/545Bullets_tex,
		scale = 0.5,
	}

	item 9x39mmBox
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	545AmmoBox,
		ItemType                    	=	base:normal,
		Weight                      	=	0.4,
		MetalValue                  	=	10,
		AlwaysWelcomeGift           	=	true,
		WorldStaticModel            	=	9x39mmBox,
		PlaceOneSound               	=	BoxOfRoundsPlaceOne,
		PlaceMultipleSound          	=	BoxOfRoundsPlaceAll,
		Tags                        	=	base:hasmetal,
	}

	model 9x39mmBox
	{
		mesh = weapons/ammo/AmmoBox,
		texture = weapons/ammo/545AmmoBox_tex,
		scale = 1.0,
	}

	craftRecipe OpenBoxof9x39mmRounds
	{
		timedAction = OpenAmmoBox,
		time = 5,
		category = Ammunition,
		recipeGroup = OpenBox,
		Tags = InHandCraft;CanBeDoneInDark,
		inputs
		{
			item 1 [Base.9x39mmBox] flags[Prop2;AllowFavorite;InheritFavorite],
		}
		outputs
		{
			item 40 Base.9x39mmBullets,
		}
	}

	craftRecipe Put9x39mmRoundsInBox
	{
		timedAction = PlaceAmmoInBox,
		time = 5,
		category = Ammunition,
		recipeGroup = PackBox,
		Tags = InHandCraft;CanBeDoneInDark,
		inputs
		{
			item 40 [Base.9x39mmBullets] flags[Prop2;AllowFavorite;InheritFavorite],
		}
		outputs
		{
			item 1 Base.9x39mmBox,
		}
	}

	item VSSMag
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	VSS_MAG,
		ItemType                    	=	base:normal,
		Weight                      	=	0.2,
		AmmoType                    	=	totally_guns:bullets_9x39sov,
		CanStack                    	=	false,
		GunType                     	=	Base.VSS,
		MaxAmmo                     	=	10,
		StaticModel                 	=	9x39Mag20,
		WorldStaticModel            	=	9x39Mag20,
		Tags                        	=	base:hasmetal;base:riflemagazine,
	}

	model 9x39Mag20
	{
		mesh = weapons/ammo/AK74_MAG,
		texture = weapons/ammo/AK74_MAG,
	}

	/*========================= 5.45x39mm =========================*/

	item 545x39Bullets
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	545Bullets,
		ItemType                    	=	base:normal,
		Weight                      	=	0.02,
		Count                       	=	5,
		MetalValue                  	=	1,
		AlwaysWelcomeGift           	=	true,
		WorldStaticModel            	=	545x39Bullets,
		Tags                        	=	base:hasmetal,
	}

	model 545x39Bullets
	{
		mesh = weapons/ammo/Rifle_Ammo,
		texture = weapons/ammo/545Bullets_tex,
		scale = 0.5,
	}

	item 545x39Box
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	545AmmoBox,
		ItemType                    	=	base:normal,
		Weight                      	=	0.4,
		MetalValue                  	=	10,
		AlwaysWelcomeGift           	=	true,
		WorldStaticModel            	=	545x39Box,
		PlaceOneSound               	=	BoxOfRoundsPlaceOne,
		PlaceMultipleSound          	=	BoxOfRoundsPlaceAll,
		Tags                        	=	base:hasmetal,
	}

	model 545x39Box
	{
		mesh = weapons/ammo/AmmoBox,
		texture = weapons/ammo/545AmmoBox_tex,
		scale = 1.0,
	}

	craftRecipe OpenBoxof545x39mmRounds
	{
		timedAction = OpenAmmoBox,
		time = 5,
		category = Ammunition,
		recipeGroup = OpenBox,
		Tags = InHandCraft;CanBeDoneInDark,
		inputs
		{
			item 1 [Base.545x39Box] flags[Prop2;AllowFavorite;InheritFavorite],
		}
		outputs
		{
			item 60 Base.545x39Bullets,
		}
	}

	craftRecipe Put545x39mmRoundsInBox
	{
		timedAction = PlaceAmmoInBox,
		time = 5,
		category = Ammunition,
		recipeGroup = PackBox,
		Tags = InHandCraft;CanBeDoneInDark,
		inputs
		{
			item 60 [Base.545x39Bullets] flags[Prop2;AllowFavorite;InheritFavorite],
		}
		outputs
		{
			item 1 Base.545x39Box,
		}
	}

	item 545Clip30
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	AK74MAG,
		ItemType                    	=	base:normal,
		Weight                      	=	0.2,
		AmmoType                    	=	totally_guns:bullets_545sov,
		CanStack                    	=	false,
		GunType                     	=	Base.MPI74;Base.AKS74U;Base.AKS74UFolded,
		MaxAmmo                     	=	30,
		StaticModel                 	=	545Clip30,
		WorldStaticModel            	=	545Clip30,
		Tags                        	=	base:hasmetal;base:riflemagazine,
	}

	model 545Clip30
	{
		mesh = weapons/ammo/AK74_MAG,
		texture = weapons/ammo/AK74_MAG,
	}

	item 545Clip45
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	RPK74_MAGAZINE,
		ItemType                    	=	base:normal,
		Weight                      	=	0.2,
		AmmoType                    	=	totally_guns:bullets_545sov,
		CanStack                    	=	false,
		GunType                     	=	Base.RPK74,
		MaxAmmo                     	=	45,
		StaticModel                 	=	545Clip45,
		WorldStaticModel            	=	545Clip45,
		Tags                        	=	base:hasmetal;base:riflemagazine,
	}

	model 545Clip45
	{
		mesh = weapons/ammo/AK74_MAG,
		texture = weapons/ammo/AK74_MAG,
		scale = 1.2,
	}

	/*========================= 7.62x39mm =========================*/

	item 762Bullets
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	762Bullets,
		ItemType                    	=	base:normal,
		Weight                      	=	0.02,
		Count                       	=	5,
		MetalValue                  	=	1,
		AlwaysWelcomeGift           	=	true,
		WorldStaticModel            	=	762x39Bullets,
		Tags                        	=	base:hasmetal,
	}

	model 762x39Bullets
	{
		mesh = weapons/ammo/Rifle_Ammo,
		texture = weapons/ammo/762Bullets_tex,
		scale = 0.5,
	}

	item 762Box
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	762AmmoBox,
		ItemType                    	=	base:normal,
		Weight                      	=	0.4,
		MetalValue                  	=	10,
		AlwaysWelcomeGift           	=	true,
		WorldStaticModel            	=	762x39Box,
		PlaceOneSound               	=	BoxOfRoundsPlaceOne,
		PlaceMultipleSound          	=	BoxOfRoundsPlaceAll,
		Tags                        	=	base:hasmetal,
	}

	model 762x39Box
	{
		mesh = weapons/ammo/AmmoBox,
		texture = weapons/ammo/762AmmoBox_tex,
		scale = 1.1,
	}

	craftRecipe OpenBoxof762x39mmRounds_EBW
	{
		timedAction = OpenAmmoBox,
		time = 5,
		category = Ammunition,
		recipeGroup = OpenBox,
		Tags = InHandCraft;CanBeDoneInDark,
		inputs
		{
			item 1 [Base.762Box] flags[Prop2;AllowFavorite;InheritFavorite],
		}
		outputs
		{
			item 60 Base.762Bullets,
		}
	}

	craftRecipe Put762x39mmRoundsInBox_EBW
	{
		timedAction = PlaceAmmoInBox,
		time = 5,
		category = Ammunition,
		recipeGroup = PackBox,
		Tags = InHandCraft;CanBeDoneInDark,
		inputs
		{
			item 60 [Base.762Bullets] flags[Prop2;AllowFavorite;InheritFavorite],
		}
		outputs
		{
			item 1 Base.762Box,
		}
	}

	item 762Clip
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	AK47MAG,
		ItemType                    	=	base:normal,
		Weight                      	=	0.2,
		AmmoType                    	=	totally_guns:bullets_762sov,
		CanStack                    	=	false,
		GunType                     	=	Base.AMD65;Base.AMD65Folded;Base.AKM;Base.PMMD63;Base.AKKS;Base.AKKSFolded;Base.MPIKMS72;Base.MPIKMS72Folded,
		MaxAmmo                     	=	30,
		StaticModel                 	=	762Clip30,
		WorldStaticModel            	=	762Clip30,
		Tags                        	=	base:hasmetal;base:riflemagazine,
	}

	model 762Clip30
	{
		mesh = weapons/ammo/AK47_MAG,
		texture = weapons/ammo/AK47_MAG,
	}

	item 762ClipVZ58
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	AK47MAG,
		ItemType                    	=	base:normal,
		Weight                      	=	0.2,
		AmmoType                    	=	totally_guns:bullets_762sov,
		CanStack                    	=	false,
		GunType                     	=	Base.VZ58,
		MaxAmmo                     	=	30,
		StaticModel                 	=	762Clip30,
		WorldStaticModel            	=	762Clip30,
		Tags                        	=	base:hasmetal;base:riflemagazine,
	}

	item 762Clip40
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	RPKMAG,
		ItemType                    	=	base:normal,
		Weight                      	=	0.2,
		AmmoType                    	=	totally_guns:bullets_762sov,
		CanStack                    	=	false,
		GunType                     	=	Base.RPK,
		MaxAmmo                     	=	40,
		StaticModel                 	=	762Clip45,
		WorldStaticModel            	=	762Clip45,
		Tags                        	=	base:hasmetal;base:riflemagazine,
	}

	model 762Clip45
	{
		mesh = weapons/ammo/RPK_MAG,
		texture = weapons/ammo/RPK_MAG,
	}

	/*========================= 7.62x54mmR =========================*/

	item 762x54Bullets
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	762x54Bullets,
		ItemType                    	=	base:normal,
		Weight                      	=	0.02,
		Count                       	=	5,
		MetalValue                  	=	1,
		AlwaysWelcomeGift           	=	true,
		WorldStaticModel            	=	762x54Bullets,
		Tags                        	=	base:hasmetal,
	}

	model 762x54Bullets
	{
		mesh = weapons/ammo/Rifle_Ammo,
		texture = weapons/ammo/762x54Bullets_tex,
		scale = 0.5,
	}

	item 762x54Box
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	762x54AmmoBox,
		ItemType                    	=	base:normal,
		Weight                      	=	0.4,
		MetalValue                  	=	10,
		AlwaysWelcomeGift           	=	true,
		WorldStaticModel            	=	762x54Box,
		PlaceOneSound               	=	BoxOfRoundsPlaceOne,
		PlaceMultipleSound          	=	BoxOfRoundsPlaceAll,
		Tags                        	=	base:hasmetal,
	}

	model 762x54Box
	{
		mesh = weapons/ammo/AmmoBox_Carcano,
		texture = weapons/ammo/762x54AmmoBox_tex,
		scale = 1.1,
	}

	craftRecipe OpenBoxof762x54Rounds
	{
		timedAction = OpenAmmoBox,
		time = 5,
		category = Ammunition,
		recipeGroup = OpenBox,
		Tags = InHandCraft;CanBeDoneInDark,
		inputs
		{
			item 1 [Base.762x54Box] flags[Prop2;AllowFavorite;InheritFavorite],
		}
		outputs
		{
			item 20 Base.762x54Bullets,
		}
	}

	craftRecipe Put762x54InBox
	{
		timedAction = PlaceAmmoInBox,
		time = 5,
		category = Ammunition,
		recipeGroup = PackBox,
		Tags = InHandCraft;CanBeDoneInDark,
		inputs
		{
			item 20 [Base.762x54Bullets] flags[Prop2;AllowFavorite;InheritFavorite],
		}
		outputs
		{
			item 1 Base.762x54Box,
		}
	}

	item PSLMag
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	SVD_MAGAZINE_2,
		ItemType                    	=	base:normal,
		Weight                      	=	0.2,
		AmmoType                    	=	totally_guns:bullets_762x54r,
		CanStack                    	=	false,
		GunType                     	=	Base.PSL,
		MaxAmmo                     	=	10,
		StaticModel                 	=	PSLMag,
		WorldStaticModel            	=	PSLMag,
		Tags                        	=	base:hasmetal;base:riflemagazine,
	}

	model PSLMag
	{
		mesh = weapons/ammo/PSL_Magazine,
		texture = weapons/ammo/PSL_Magazine_tex,
	}

	/*========================= 9x18mm Makarov =========================*/

	item Bullets9x18mm
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	9x18Bullet,
		ItemType                    	=	base:normal,
		Weight                      	=	0.01,
		Count                       	=	5,
		MetalValue                  	=	1,
		WorldStaticModel            	=	9mmRounds,
		Tags                        	=	base:hasmetal,
	}

	item Bullets9x18mmBox
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	9x18_Box,
		ItemType                    	=	base:normal,
		Weight                      	=	0.2,
		MetalValue                  	=	30,
		WorldStaticModel            	=	9x18Box,
		PlaceOneSound               	=	BoxOfRoundsPlaceOne,
		PlaceMultipleSound          	=	BoxOfRoundsPlaceAll,
		Tags                        	=	base:hasmetal,
	}

	model 9x18Box
	{
		mesh = worlditems/9x18box,
		texture = worlditems/9x18,
		scale = 0.5,

		attachment world
		{
			offset = 0.0000 0.0000 0.0000,
			rotate = 180.0000 0.0000 0.0000,
		}
	}

	craftRecipe OpenBoxof9x18mmRounds
	{
		timedAction = OpenAmmoBox,
		time = 5,
		category = Ammunition,
		recipeGroup = OpenBox,
		Tags = InHandCraft;CanBeDoneInDark,
		inputs
		{
			item 1 [Base.Bullets9x18mmBox] flags[Prop2;AllowFavorite;InheritFavorite],
		}
		outputs
		{
			item 50 Base.Bullets9x18mm,
		}
	}

	craftRecipe Put9x18mmInBox
	{
		timedAction = PlaceAmmoInBox,
		time = 5,
		category = Ammunition,
		recipeGroup = PackBox,
		Tags = InHandCraft;CanBeDoneInDark,
		inputs
		{
			item 50 [Base.Bullets9x18mm] flags[Prop2;AllowFavorite;InheritFavorite],
		}
		outputs
		{
			item 1 Base.Bullets9x18mmBox,
		}
	}

	item PM63Mag
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	PM63_Magazine,
		ItemType                    	=	base:normal,
		Weight                      	=	0.2,
		AmmoType                    	=	totally_guns:bullets_9x18mak,
		CanStack                    	=	false,
		GunType                     	=	Base.PM63,
		MaxAmmo                     	=	25,
		StaticModel                 	=	PM63Mag,
		WorldStaticModel            	=	PM63Mag,
		Tags                        	=	base:hasmetal;base:pistolmagazine,
	}

	model PM63Mag
	{
		mesh = weapons/ammo/PM63_Magazine,
		texture = weapons/ammo/PM63_Magazine_tex,
	}

	item APSMag
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	APS_Magazine,
		ItemType                    	=	base:normal,
		Weight                      	=	0.1,
		AmmoType                    	=	totally_guns:bullets_9x18mak,
		CanStack                    	=	false,
		GunType                     	=	Base.APS,
		MaxAmmo                     	=	20,
		StaticModel                 	=	APSMag,
		WorldStaticModel            	=	APSMag,
		Tags                        	=	base:hasmetal;base:pistolmagazine,
	}

	model APSMag
	{
		mesh = weapons/ammo/APS_Magazine,
		texture = weapons/ammo/APS_Magazine_tex,
	}

	item Makarov_Mag
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	Makarov_Mag,
		ItemType                    	=	base:normal,
		Weight                      	=	0.1,
		AmmoType                    	=	totally_guns:bullets_9x18mak,
		CanStack                    	=	false,
		GunType                     	=	Base.Makarov,
		MaxAmmo                     	=	8,
		StaticModel                 	=	Makarov_Mag_Model,
		WorldStaticModel            	=	Makarov_Mag_Model,
		Tags                        	=	base:hasmetal;base:pistolmagazine,
	}

	model Makarov_Mag_Model
	{
		mesh = weapons/ammo/Makarov_MAGAZINE,
		texture = weapons/firearm/Makarov_tex,
	}

	/*========================= .32 ACP =========================*/

	item Bullets32
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	32ACPBullets,
		ItemType                    	=	base:normal,
		Weight                      	=	0.012,
		Count                       	=	5,
		MetalValue                  	=	1,
		WorldStaticModel            	=	9mmRounds,
		Tags                        	=	base:hasmetal,
	}

	item Bullets32Box
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	32APCAmmoBox,
		ItemType                    	=	base:normal,
		Weight                      	=	0.6,
		MetalValue                  	=	30,
		WorldStaticModel            	=	32ACPBox,
		PlaceOneSound               	=	BoxOfRoundsPlaceOne,
		PlaceMultipleSound          	=	BoxOfRoundsPlaceAll,
		Tags                        	=	base:hasmetal,
	}

	model 32ACPBox
	{
		mesh = weapons/ammo/AmmoBox_Carcano,
		texture = weapons/ammo/32ACPAmmoBox_tex,
	}

	craftRecipe OpenBoxof32Rounds
	{
		timedAction = OpenAmmoBox,
		time = 5,
		category = Ammunition,
		recipeGroup = OpenBox,
		Tags = InHandCraft;CanBeDoneInDark,
		inputs
		{
			item 1 [Base.Bullets32Box] flags[Prop2;AllowFavorite;InheritFavorite],
		}
		outputs
		{
			item 50 Base.Bullets32,
		}
	}

	craftRecipe Put32InBox
	{
		timedAction = PlaceAmmoInBox,
		time = 5,
		category = Ammunition,
		recipeGroup = PackBox,
		Tags = InHandCraft;CanBeDoneInDark,
		inputs
		{
			item 50 [Base.Bullets32] flags[Prop2;AllowFavorite;InheritFavorite],
		}
		outputs
		{
			item 1 Base.Bullets32Box,
		}
	}

	item ScorpionMag
	{
		DisplayCategory             	=	Ammo,
		Icon                        	=	Skorpion_Magazine,
		ItemType                    	=	base:normal,
		Weight                      	=	0.2,
		AmmoType                    	=	totally_guns:bullets_32acp,
		CanStack                    	=	false,
		GunType                     	=	Base.Scorpion,
		MaxAmmo                     	=	20,
		StaticModel                 	=	ScorpionMag,
		WorldStaticModel            	=	ScorpionMag,
		Tags                        	=	base:hasmetal;base:pistolmagazine,
	}

	model ScorpionMag
	{
		mesh = weapons/ammo/Scorpion_Magazine,
		texture = weapons/ammo/Scorpion_Magazine_tex,
	}
}
